{% extends 'template.html' %}
{% load i18n %}
{% load bootstrap4 %}

{% block title %}注册{% endblock %}
{% block content %}
<h2>注册</h2>
<hr>
    <form method="post">

    {% csrf_token %}
    {% bootstrap_form form %}

    <button class="btn btn-primary">注册</button>
        已有账号？<a href="{% url 'users:login_username' %}">点击登陆</a>
    </form>
<hr>
{% endblock %}